package com.booking.controller.model.res;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Qikai.Lin
 * @date 2023/4/24
 */
@Data
public class RoomOrderDetail {
    /* ----------------------ID相关---------------------- */
    /**
     * 订单id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;
    /**
     * 房间id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long roomId;
    /**
     * 房东id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ownerId;
    /**
     * 民宿id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long homestayId;
    /**
     * 游客id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long visitorId;
    /* ----------------------民宿信息---------------------- */
    /**
     * 民宿名称
     */
    private String homestayName;
    /**
     * 房间名称
     */
    private String roomName;
    /**
     * 房间面积
     */
    private BigDecimal area;
    /**
     * 房间容量
     */
    private Integer capacity;
    /**
     * 服务设施描述列表
     */
    private String serviceMsgList;
    /* ----------------------入住信息---------------------- */
    /**
     * 入住日期
     */
    private String checkInDate;
    /**
     * 退订日期
     */
    private String checkOutDate;
    /**
     * 预订天数
     */
    private Integer bookingDays;
    /**
     * 预订日期
     */
    private String bookingDate;
    /* ----------------------状态信息---------------------- */
    /**
     * 订单状态
     */
    private String orderStatus;
    /**
     * 支付状态
     */
    private String payStatus;
    /**
     * 入住状态
     */
    private String checkStatus;
    /**
     * 评价状态
     */
    private String commentStatus;
    /* ----------------------价格信息---------------------- */
    /**
     * 预订价格
     */
    private BigDecimal bookingPrices;
    /**
     * 总价格
     */
    private BigDecimal totalPrices;
    /**
     * 优惠价格
     */
    private BigDecimal discountPrices;
    /**
     * 支付价格
     */
    private BigDecimal payPrices;
}
